package com.eight.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.eight.common.pojo.AclPermission;
import com.eight.system.vo.PermissionVo;

import java.security.acl.Acl;
import java.util.List;

/**
 * @author 向文豪
 * @program: eight-education-parent
 * @description:
 * @date 2023/5/23 20:56
 */
public interface PermissionService {

    public List<AclPermission> findByUserId(String userId);
    List<AclPermission> findAll();
    List<String> findByRoleId(String roleId);
    void confirm(String roleId, String[] permissionIds);
    Page<AclPermission> findPage(Integer currentSize, Integer pageSize, PermissionVo permissionVo);
    int insert(AclPermission aclPermission);
    int deleteById(List ids);
    int update(AclPermission aclPermission);
}
